﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:myBoard_Framework_Effects="clr-namespace:myBoard.Framework.Effects" x:Class="myBoard.Framework.Controls.MarkeeControl"
    >
  <UserControl.Resources>
    <Storyboard x:Key="StartScrolling">
      <ThicknessAnimationUsingKeyFrames x:Name="MarginAnimation" BeginTime="00:00:00" Storyboard.TargetName="_scrollingContent" Storyboard.TargetProperty="(FrameworkElement.Margin)">
        <SplineThicknessKeyFrame KeyTime="00:00:04" Value="-385,0,0,0"/>
      </ThicknessAnimationUsingKeyFrames>
    </Storyboard>
  </UserControl.Resources>
  <UserControl.Background>
    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
      <GradientStop Color="#FF30034D" Offset="0"/>
      <GradientStop Color="#FF120126" Offset="1"/>
    </LinearGradientBrush>
  </UserControl.Background>
  <Canvas Width="{Binding ActualWidth, ElementName=userControl, Mode=Default}" Height="{Binding ActualHeight, ElementName=userControl, Mode=Default}" ClipToBounds="True">
    <Border x:Name="_scrollingContent" VerticalAlignment="Center" BorderThickness="1" Margin="0" Canvas.Top="1.02">
      <TextBlock Text="bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla " Foreground="White"/>
    </Border>
  </Canvas>
</UserControl>
